<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_db_conn = "localhost";
$database_db_conn = "Consultora";
$username_db_conn = "Consultor";
$password_db_conn = "*1consultor";


function conecta(){
	$hostname = "localhost";
	$database = "Consultora";
	$username = "Consultor";
	$password = "*1consultor";
	$db_conn = mysql_connect($hostname, $username, $password);
	mysql_select_db($database, $db_conn);
	return $db_conn;
}

function close($bdLink, $result){
	mysql_free_result($result);
	mysql_close($bdLink);	
}
?>